package com.rentong.config;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author ZXY
 * @ClassName: WxPayProperties
 * @Description:
 * @date 2018/5/22 14:49
 */
@ConfigurationProperties(prefix = "wx.pay")
public class WxPayProperties {
    /**
     * 商户号
     */
    private String mchId;

    /**
     * 商户密钥
     */
    private String secret;

    /**
     * 支付展示
     */
    private String body;

    /**
     * 回调地址
     */
    private String notifyUrl;

    /**
     * 退款回调地址
     */
    private String refundUrl;

    private String certPath;

    public String getRefundUrl() {
        return refundUrl;
    }

    public void setRefundUrl(String refundUrl) {
        this.refundUrl = refundUrl;
    }

    public String getMchId() {
        return mchId;
    }

    public void setMchId(String mchId) {
        this.mchId = mchId;
    }

    public String getSecret() {
        return secret;
    }

    public void setSecret(String secret) {
        this.secret = secret;
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }

    public String getNotifyUrl() {
        return notifyUrl;
    }

    public void setNotifyUrl(String notifyUrl) {
        this.notifyUrl = notifyUrl;
    }

    public String getCertPath() {
        return certPath;
    }

    public void setCertPath(String certPath) {
        this.certPath = certPath;
    }
}
